/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package util.datatypes;

/**
 *
 * @author bruno
 */
public class DTVenta 
{
    private int id;
    private double  valorAbonado;
    private DTReserva reserva;

    public DTVenta(int id, double valorAbonado, DTReserva reserva) {
        this.id = id;
        this.valorAbonado = valorAbonado;
        this.reserva = reserva;
    }

    public DTVenta() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public DTReserva getReserva() {
        return reserva;
    }

    public void setReserva(DTReserva reserva) {
        this.reserva = reserva;
    }

    public double getValorAbonado() {
        return valorAbonado;
    }

    public void setValorAbonado(double valorAbonado) {
        this.valorAbonado = valorAbonado;
    }

    @Override
    public String toString() {
        return id + " " + valorAbonado;
    }
    
    
}